package com.bls.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * (Draft)实体类
 *
 * @author makejava
 * @since 2022-01-10 18:42:43
 */
@Data
@Table(name = "bls_draft")
public class Draft implements Serializable {
    private static final long serialVersionUID = -85053597289850611L;
    /**
     * 剧本草稿id
     */
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 对应分析剧本的id
     */
    @Column(name = "analyse_id")
    private Long analyseId;
    /**
     * 剧本草稿名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 剧本草稿内容
     */
    @Column(name = "content")
    private String content;
    /**
     * 剧本草稿解析，描述
     */
    @Column(name = "description")
    private String description;
    /**
     * 是否已开发（0-未开发，1-已开发）
     * 对应数据库 is_developed
     */
    @Column(name = "is_developed")
    private Integer developed = 0;
    /**
     * 创建剧本草稿的用户id
     */
    @Column(name = "creator_id")
    private Long creatorId;
    /**
     * 创建剧本草稿的用户名称
     */
    @Column(name = "creator_name")
    private String creatorName;
    /**
     * 创建剧本草稿所在帮区id
     */
    @Column(name = "band_id")
    private Long bandId;
    /**
     * 创建剧本草稿所在帮区名称
     */
    @Column(name = "band_name")
    private String bandName;
    /**
     * 是否分享（0-不分享，1-已分享）
     * 对应数据库 is_shared
     */
    @Column(name = "is_shared")
    private Integer shared = 0;
    /**
     * 剧本草稿创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     * 剧本草稿更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}